home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / Paint Shop Pro / PSP900enTR.exe / Data1.cab / _5A538F21BDF14F6C822E5673D5E6754B < prev    next >
Encoding:
Text File  |  2004-08-16  |  6.8 KB  |  182 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <!-- Need to translate the title. -->
  5. <TITLE>Assign a keyboard shortcut - An example</TITLE>
  6. <!-- Do NOT edit from here... -->
  7. <SCRIPT LANGUAGE="JavaScript">
  8. <!--
  9.  
  10. function MM_goToURL() { //v3.0
  11.   var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  12.   for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
  13. }
  14. //-->
  15.  
  16. <!--
  17.  
  18. //  The "refresh" function implementations are identical
  19. //  to our regular "JavaScript-Refresh" example.  The only
  20. //  difference from our JavaScript Refresh example is
  21. //  we do not have a doLoad function that starts our
  22. //  refresh timer (since we use a refresh button).
  23.  
  24. var sURL = unescape(window.location.pathname);
  25.  
  26. function refresh()
  27. {
  28.     window.location.href = sURL;
  29. }
  30.  
  31. <!--
  32. function MM_openBrWindow(theURL,winName,features) { //v2.0
  33.   window.open(theURL,winName,features);
  34. }
  35.  
  36. function MM_popupMsg(msg) { //v1.0
  37.   alert(msg);
  38. }
  39. //-->
  40. </SCRIPT>
  41. <!-- ... to here. -->
  42.  
  43. <!-- This is the link to the Cascading Style Sheet (CSS) file. -->
  44. <LINK REL="stylesheet" HREF="css/bpstyles.css" TYPE="text/css">
  45. </HEAD>
  46. <body TEXT="#000000" TOPMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" BGCOLOR="#FFFFFF">
  47. <TABLE WIDTH="94%" BORDER="0" ALIGN="CENTER">
  48.     <TR>
  49.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  50.     </TR>
  51.     <TR>
  52.         <!-- TITLE TITLE TITLE TITLE TITLE TITLE TITLE TITLE  -->
  53.         <TD ALIGN="LEFT" CLASS="header1">Assign a keyboard shortcut - An example</TD>
  54.     </TR>
  55.     <TR>
  56.         <TD><HR WIDTH="100%" ALIGN="CENTER"></TD>
  57.     </TR>
  58.     <TR>
  59.         <!-- STEP 1 STEP 1 STEP 1 STEP 1 STEP 1 STEP 1 STEP 1  -->
  60.         <TD CLASS="boldbody">Step 1 - Display the Customize dialog</TD>
  61.     </TR>
  62.     <TR>
  63.         <TD CLASS="body">Choose View > Customize to display the Customize dialog. You can also right-click an empty part of the workspace and choose Customize from the context menu.</TD>
  64.     </TR>
  65.     <TR>
  66.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  67.     </TR>
  68.     <TR> 
  69.         <!-- STEP 2 STEP 2 STEP 2 STEP 2 STEP 2 STEP 2 STEP 2   -->
  70.         <TD ALIGN="LEFT" CLASS="boldbody">Step 2 - Choose the Keyboard tab</TD>
  71.     </TR>
  72.     <TR>
  73.         <TD CLASS="body">Choose the Keyboard tab.</TD>
  74.     </TR>
  75.     <TR>
  76.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  77.     </TR>
  78.     <TR> 
  79.         <!-- STEP 3 STEP 3 STEP 3 STEP 3 STEP 3 STEP 3 STEP 3   -->
  80.         <TD ALIGN="LEFT" CLASS="boldbody">Step 3 - Choose the File menu</TD>
  81.     </TR>
  82.     <TR>
  83.         <TD CLASS="body">From the Category drop-list, choose File (for the File menu).</TD>
  84.     </TR>
  85.     <TR>
  86.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  87.     </TR>
  88.     <TR>
  89.         <!-- STEP 4 STEP 4 STEP 4 STEP 4 STEP 4 STEP 4 STEP 4   -->
  90.         <TD ALIGN="LEFT" CLASS="boldbody">Step 4 - Choose the General Program Preferences command</TD>
  91.     </TR>
  92.     <TR>
  93.         <TD CLASS="body">From the Commands section, choose the General Program Preferences command.</TD>
  94.     </TR>
  95.     <TR>
  96.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  97.     </TR>
  98.     <TR>
  99.         <!-- STEP 5 STEP 5 STEP 5 STEP 5 STEP 5 STEP 5 STEP 5   -->
  100.         <TD ALIGN="LEFT" CLASS="boldbody">Step 5 - Enter the keyboard shortcut</TD>
  101.     </TR>
  102.     <TR>
  103.         <TD CLASS="body">Click inside the Press New Shortcut Key field, hold down the Alt key and press P. It should display in the field as "Alt+P."</TD>
  104.     </TR>
  105.     <TR>
  106.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  107.     </TR>
  108.     <TR>
  109.         <!-- STEP 6 STEP 6 STEP 6 STEP 6 STEP 6 STEP 6 STEP 6   -->
  110.         <TD ALIGN="LEFT" CLASS="boldbody">Step 6 - Click Assign</TD>
  111.     </TR>
  112.     <TR>
  113.         <TD CLASS="body">Click Assign to assign this keyboard shortcut to the General Program Preferences command.</TD>
  114.     </TR>
  115.     <TR>
  116.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  117.     </TR>
  118.     <TR>
  119.         <!-- STEP 7 STEP 7 STEP 7 STEP 7 STEP 7 STEP 7 STEP 7   -->
  120.         <TD ALIGN="LEFT" CLASS="boldbody">Step 7 - Close the dialog</TD>
  121.     </TR>
  122.     <TR>
  123.         <TD CLASS="body">Click Close to close the Customize dialog.</TD>
  124.     </TR>
  125.     <TR>
  126.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  127.     </TR>
  128.     <TR>
  129.         <!-- STEP 8 STEP 8 STEP 8 STEP 8 STEP 8 STEP 8 STEP 8   -->
  130.         <TD ALIGN="LEFT" CLASS="boldbody">Step 8 - Press Alt + P</TD>
  131.     </TR>
  132.     <TR>
  133.         <TD CLASS="body">Try out your new shortcut by pressing Alt + P. The General Program Preferences dialog appears. Note also that this shortcut appears when you choose File > Preferences.</TD>
  134.     </TR>
  135.     <TR>
  136.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  137.     </TR>
  138.     <TR>
  139.         <!-- Notes and Tips Notes and Tips Notes and Tips -->
  140.         <TD VALIGN="TOP" ALIGN="LEFT" CLASS="boldbody">Notes and Tips:</TD>
  141.     </TR>
  142.     <TR>
  143.         <TD>
  144.             <TABLE BORDER="0" CELLSPACING="2" CELLPADDING="2">
  145.                 <TR>
  146.                     <TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD>
  147.                     <TD VALIGN="TOP" CLASS="body">If a particular shortcut is already assigned to another command, this will be reflected directly above the Press New Shortcut Key field.</TD>
  148.                 </TR>
  149.                 <TR>
  150.                     <TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD>
  151.                     <TD VALIGN="TOP" CLASS="body">To remove a shortcut that has already been assigned, select the item in the commands list, select the keys in the Current Keys field, and then click Remove. If you've entered a key assignment but have NOT yet clicked Assign, simply close the Customize dialog to cancel the assignment.</TD>
  152.                 </TR>
  153.                 <TR>
  154.                     <TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD>
  155.                     <TD VALIGN="TOP" CLASS="body">To reset keyboard shortcuts to their defaults, click Reset All and then click Yes to confirm the action.</TD>
  156.                 </TR>
  157.             </TABLE>
  158.         </TD>
  159.     </TR>
  160.     <TR>
  161.            <!-- Horizontal Rule Horizontal Rule Horizontal Rule Horizontal Rule Horizontal Rule    -->
  162.         <TD><HR WIDTH="100%"></TD>
  163.     </TR>
  164.     <TR>
  165.         <TD ALIGN="LEFT" CLASS="boldbody">Learn More:</TD>
  166.     </TR>
  167.     <TR>
  168.         <TD CLASS="body"><A HREF="../Create a custom toolbar/index.htm"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="../Create a custom toolbar/index.htm">Create a custom toolbar</A></TD>
  169.     </TR>
  170.     <TR>
  171.         <TD CLASS="body"><A HREF="../Separate a tool from its flyout/index.htm"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="../Separate a tool from its flyout/index.htm">Separate a tool from its flyout</A></TD>
  172.     </TR>
  173.     <!--TR>
  174.         <TD CLASS="body"><A HREF="#other guides"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="#other guides">Related guide 3</A></TD>
  175.     </TR-->
  176.     <TR>
  177.         <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD>
  178.     </TR>
  179. </TABLE>
  180. </body>
  181. </HTML>
  182.